//
//  RateView.h
//  ebook
//
//  Created by 吴超飞 on 16/5/8.
//  Copyright © 2016年 Moton. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum {
    AppstoreRate,//到appstore评分
    Shits,//吐槽
    WaitAMoment//稍候再说
}RateType;


@class RateView;
@protocol RateViewDelegate <NSObject>

-(void)rateView:(RateView *)view rateType:(RateType)type;

@end


@interface RateView : UIView

@property (nonatomic,weak) id<RateViewDelegate> delegate;

@end
